package com.soccertgc.core.game.client.events
{
	import com.soccertgc.core.game.client.GameClient;
	import com.soccertgc.core.game.requests.GameRequest;

	public class GameClientRequestEvent extends GameClientEvent
	{
		
		// -------------------------------------------------------------------------------
		// FIELDS
		// -------------------------------------------------------------------------------
		
		private var _request:GameRequest;
		
		// -------------------------------------------------------------------------------
		// CONSTRUCTOR
		// -------------------------------------------------------------------------------
		
		public function GameClientRequestEvent(t:String, c:GameClient, r:GameRequest)
		{
			super(t, c);
			// Init
			_request = r;
		}
		
		// -------------------------------------------------------------------------------
		// PROPERTIES
		// -------------------------------------------------------------------------------
		
		public function get request():GameRequest
		{
			return _request;
		}
		
	}
}